Skip to content

Instantly share code, notes, and snippets.

View omac777's full-sized avatar

David Marceau omac777

View GitHub Profile
@omac777
omac777 / VF2_powerup_serialoutput_after_install_6.6.20-cwt-5.12.0-2-27May2024.txt
Created May 27, 2024 10:56
Starfive VisionFive 2 Archlinux Kernel Build Output 6.6.20-cwt-5.12.0-2
picocom v3.1
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
@omac777
omac777 / gist:6edff9cea952a62d6736d3800dc606be
Created May 20, 2024 00:54
Starfive VisionFive2 glxinfo after flashcp
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_context_flush_control, GLX_ARB_create_context,
GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
@omac777
omac777 / gist:d088598cc4340c4ee3193730d7d23ad4
Created May 20, 2024 00:40
Starfive VisionFive2 power up serial output after the necessary flashcp
picocom v3.1
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
@omac777
omac777 / gist:40dbfdf3b4fb9c850d5b946ccdca40ba
Created May 19, 2024 13:03
Starfive VisionFive 2 power up serial output
picocom v3.1
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
@omac777
omac777 / gist:a08b0924869de0cabed6329a439d84fe
Created May 19, 2024 00:44
AMD Ryzen 5 on Fedora 39 glxinfo output
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_context_flush_control, GLX_ARB_create_context,
GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
@omac777
omac777 / gist:aedd24c0027f257ead37cc5244875070
Created May 19, 2024 00:27
Starfive VisionFive 2 glxinfo and glxgears output
apt-get install mesa-utils mesa-utils-bin
root@saratoga-vf2:/home/user/Downloads# glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_context_flush_control, GLX_ARB_create_context,
GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
@omac777
omac777 / gist:5e0ce8e8a3c9a7c6de52cc4b842f4804
Created May 10, 2023 18:54
Uart Output for rolling release kernel Ubuntu Server on Starfive VF2 and Logging into it for the first time
U-Boot SPL 2021.10 (Mar 24 2023 - 01:42:56 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.2
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
@omac777
omac777 / gist:e74424707aec112a0e707af24a323aaf
Created May 10, 2023 18:44
First time logging into Ubuntu Server on Starfive Visionfive 2
ssh ubuntu@192.168.2.79
You are required to change your password immediately (administrator enforced).
Welcome to Ubuntu Lunar Lobster (development branch) (GNU/Linux 6.2.0-19-generic riscv64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
@omac777
omac777 / gist:7fdc579854849b8e0a4cb81f4b999359
Created May 10, 2023 18:39
ubuntu server on starfive visionfive 2
Ok so here is what I did:
```
wipefs --all /dev/sdb
xz -dk ubuntu-23.04-preinstalled-server-riscv64+visionfive2.img.xz
dd if=./ubuntu-23.04-preinstalled-server-riscv64+visionfive2.img of=/dev/sdb bs=4M status=progress conv=fdatasync
```
along with the uart output:
davidm@carouselYOW 2023-02-05_17:02:09_EST : ~/ksplay
$ time sudo ./myRunCreateAppliance.sh
[sudo] password for davidm:
Skipping missing package 'starfive-arts'
Skipping missing package 'bcm4343b0-firmware'
Skipping missing package 'kernel-vic7100-modules'
Skipping missing package 'kernel-vic7100-devel'
Skipping missing package 'kernel-vic7100-core'
Skipping missing package 'kernel-vic7100'
Skipping missing package 'kernel-vic7100-modules-extra'